package zjut.raymond.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import zjut.raymond.pojo.AccessPoint;

/**
 * Access point mapper
 *
 * @author Raymond
 *
 */
@Mapper
public interface AccessPointMapper extends BaseMapper<AccessPoint> {
    /**
     * 根据Mac地址查找AP
     *
     * @param mac mac
     * @return int int
     * @param: mac mac地址
     */
    int findAccessPointByMac(@Param("mac") String mac);
}
